package com.jmp.api.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.model.MenuModel;

import java.util.List;

/**
 * @author Administrator
 */
@Data
@Builder
@ApiModel
public class HomeLoginResponse {
    @ApiModelProperty("令牌")
    private String token;
    @ApiModelProperty("oss地址")
    private String ossUrl;
    @ApiModelProperty("用户ID")
    private Integer adminId;
    @ApiModelProperty("登录名")
    private String loginName;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("性别 1女 2男")
    private Integer sex;
    @ApiModelProperty("职位")
    private String position;
    @ApiModelProperty("登录权限：1管理者，2游客")
    private Integer tourist;

    private String companyName;
    private String companyLogo;
    private String phone;
    private String companyKey;

    @ApiModelProperty("菜单列表")
    private List<MenuModel> list;
}